package com.example.lastwork2.model;

import java.io.Serializable;

public class Order implements Serializable {

    private int orderId;
    private String time;
    private Double sumPrice;


    public Order(){}


    public Order(int orderId, String time, Double sumPrice) {
        this.orderId = orderId;
        this.time = time;
        this.sumPrice = sumPrice;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(Double sumPrice) {
        this.sumPrice = sumPrice;
    }
}
